﻿#include "AccessFactory.h"
#include "AccessUser.h"
#include "AccessDepartment.h"

AccessFactory::AccessFactory()
{

}

shared_ptr<IUser> AccessFactory::createUser()
{
    return shared_ptr<IUser>(new AccessUser());
}

shared_ptr<IDepartment> AccessFactory::createDepartment()
{
    return shared_ptr<AccessDepartment>(new AccessDepartment());
}
